@echo off
echo compile proto...
python -m grpc_tools.protoc -I=./ --python_out=./ --grpc_python_out=./ schema.proto

set protoc=%VCPKG_x64_TOOLS_PATH%/protobuf/protoc.exe
set grpc_cpp_plugin=%VCPKG_x64_TOOLS_PATH%/grpc/grpc_cpp_plugin.exe
%protoc% -I=./ --cpp_out=./ --grpc_out=./ --plugin=protoc-gen-grpc=%grpc_cpp_plugin% schema.proto

echo DONE